package com.xiaomi.mappers;

import com.xiaomi.domain.OrdersEntity;
import com.xiaomi.domain.TrolleyEntity;

import java.util.Date;
import java.util.List;

public interface TrolleyMapper {
    List<TrolleyEntity> Shoppingcartdisplay(Integer uid);

    void addOrDeleteNumber(Integer tid, Integer number);

    void deleteTrolley(Integer tid);


    void createOrders(OrdersEntity ordersEntity);

    void deleteByuid(int uid);

    int selectTrolleyCount(Integer uid);

    TrolleyEntity selectGidandUid(Integer uid, Integer gid);

    void insertCart(Integer uid, Integer gid, int i);
}
